package com.ibm.psbc.cloud.test;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.psbc.corebanking.common.cache.CachedQuery;
import com.psbc.corebanking.common.cache.ICachedParamTable;

public interface SystemPropertyMapper extends ICachedParamTable<SystemProperty> {
    int deleteByPrimaryKey(@Param("code") String code, @Param("version") String version, @Param("effectiveDate") String effectiveDate);

    int insert(SystemProperty record);

    @CachedQuery(value = "code")
    List<SystemProperty> selectByLogicKey(SystemProperty record);

    SystemProperty selectByPrimaryKey(@Param("code") String code, @Param("version") String version, @Param("effectiveDate") String effectiveDate);

    @Override
    List<SystemProperty> selectAll();

    int updateByPrimaryKey(SystemProperty record);
}